home *** CD-ROM | disk | FTP | other *** search
/ STraTOS 1997 April & May / STraTOS 1 - 1997 April & May.iso / CD01 / TELECOM / PARCP100 / DOC / PARCP.TXT < prev    next >
Encoding:
Text File  |  1996-12-31  |  5.9 KB  |  170 lines

  1. PARallel CoPy  version 1.00beta (31.12.1996)
  2. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3.  
  4. PARCP is written for fast transferring many files between two computers on
  5. their parallel ports. It doesn't matter what the two computers are -
  6. currently supported are Atari ST/TT/Falcon/compatible and PC XT/AT/386+
  7. (both unidirectional and bidirectional parallel ports).
  8.  
  9. I'm searching for an Amiga programmer who could help me with adapting PARCP
  10. to Amigas. Until then you can use PC2Am for transferring files between PC
  11. and Amiga (check ftp://k332.feld.cvut.cz/pub/local/lemming/PC2Am).
  12.  
  13. Please note that PARALLEL PORT is usually the same as PRINTER PORT of your
  14. machine.
  15.  
  16. For transferring files all you have to do is to make your own PARCP cable
  17. (see CABLE.TXT), connect the two computers and run the PARCP program on
  18. both computers.
  19.  
  20.  
  21. Running PARCP:
  22. ==============
  23. One computer will become PARCP Server and the other will be PARCP Client.
  24. Server just sits and accepts commands from Client and sends or receives
  25. files. Client has user interface very similar to a ftp client (see below).
  26.  
  27. 1) On Atari:
  28.  
  29.    Server: PARCP.TTP -S
  30.    Client: PARCP.TTP
  31.  
  32. 2) On PC with unidirectional parallel port:
  33.   -H means you use UNI-BI HW adapter
  34.  
  35.    Server: PARCP.EXE -H -S
  36.    Client: PARCP.EXE -H
  37.  
  38. 3) On PC with bidirectional parallel port 2:
  39.    -P number means you use parallel port number.
  40.  
  41. Server: PARCP.EXE -P 2 -S
  42. Client: PARCP.EXE -P 2
  43.  
  44. You can combine all three parameters: H for HW adapter, P for port number
  45. and S for server.
  46.  
  47. When you start PARCP Client or Server, it will wait for the other side and
  48. then connect. Well, sometimes it doesn't :) In that case, please rerun it
  49. again, it will work for the second try. The connecting phase can be
  50. interrupted by holding Shift (on Atari) or pressing Return (on PC).
  51.  
  52.  
  53. PARCP Client commands:
  54. ======================
  55.  
  56. PARCP Client user prompt >> HELP
  57.  
  58.  Client commands:
  59.  
  60. QUIT                      quit both Client and Server
  61. LQUIT                     quit only Client, Server wait for another session
  62. PUT     source   [dest]   source may contain *?, dest may be directory
  63. GET     source   [dest]   source may contain *?, dest may be directory
  64. DIR     [template]        display directory on server
  65. LDIR    [template]        display local directory (on client)
  66. PWD                       print current directory on server
  67. LPWD                      print current directory on client
  68. CD      dir               change directory on server
  69. LCD     dir               local change directory
  70. MD      dir               make directory on server
  71. DEL     [template]        delete files on server
  72. LDEL    [template]        delete local files (on client)
  73. HASH                      turn on/off hash marks (every 50000 bytes)
  74. PGLEN   number            length of page
  75.  
  76. >>
  77.  
  78. I think it is very self explaining and if you know a FTP client, you need
  79. not to continue reading. But some hints may be useful, so here follow:
  80.  
  81. - PUT sends files from PARCP Client to Server, GET does it the other way
  82.   round.
  83.  
  84. - [template] in DIR and DEL commands is a file mask with wildcards (e.g.
  85.   PARCP*.LZH)
  86.  
  87. - PGLEN sets the number of lines on your screen. It is useful only for DIR
  88.   command, where the file list scrolls on screen and stops every `PGLEN`
  89.   lines with prompt ".. more.. (any/q)". If you press 'q' here, the dir
  90.   listing will be cancelled. PGLEN is set to 25 by default. PGLEN 0 means
  91.   no "..more.." prompt.
  92.  
  93.  
  94. Batch processing:
  95. =================
  96. With current PARCP interface you can start thinking about your own shell.
  97. For example in a decent command line shell (e.g. Mupfel or Okami) you can
  98. do on client this input/output redirection:
  99.  
  100. PARCP <client.cmd >client.out
  101.  
  102. CLIENT.CMD is a plain text file with PARCP Client commands:
  103.  
  104. Example:
  105. This simple .CMD file will put Server's directory listing to .OUT file.
  106. ---------cut-------
  107. PGLEN 0
  108. PWD
  109. DIR
  110. LQUIT
  111. ---------cut-------
  112.  
  113. I am sure you will write much better scripts for PARCP.
  114.  
  115.  
  116. PARCP file transfer:
  117. ====================
  118. Files are transferred by 50000 bytes long blocks. The transfer can be
  119. interrupted any time by holding Shift (on Atari) or pressing Return (on
  120. PC).
  121.  
  122. PARCP doesn't check if the transfer has been errorless - I mean there's no
  123. CRC. I'm considering to not include any check in future, because it would
  124. slow things down. Maybe I'll make it switchable, but up to now it doesn't
  125. seem to be important, because I have no problem with currupted files so
  126. far. If you're afraid it could damage your files, compress it first with
  127. e.g. LHArc and then decompress on the other computer.
  128.  
  129.  
  130. Known bugs:
  131. ===========
  132. Occasional timeouts are not dangerous, just annoying. I have been told that
  133. with Atari-Atari sessions there are no problems, so it must be a hide
  134. problem in PC source code. I keep trying to rewrite PC source to assembler
  135. - then it will be easier to find the source of problem.
  136.  
  137. Other important and maybe interesting informations are stored in files
  138. PARCPFAQ.TXT and HISTORY.TXT (please read them if you can).
  139.  
  140.  
  141. Thanks and greetings go to:
  142. ===========================
  143.  
  144. - Michal Kara (lemming@k332.feld.cvut.cz) for important informations and
  145.   ideas and also for source of his great PC2Am
  146.  
  147. - Ian D. Gay (gay@sfu.ca) and Petr Svoboda for idea of ftp client/server
  148.  
  149. - my betatesters (Mike De.Petris and others) and friends (people from
  150.   68000.42 and other Atari mailing lists)
  151.  
  152.  
  153. Author of PARCP and UNI-BI HW adapter:
  154. ======================================
  155.  
  156.     Petr Stehlik
  157.     Pod Tlustou 5083
  158.     CZ-760 05  Zlin
  159.     Czech Republic
  160.  
  161. Fidonet   2:421/36
  162. NeST      90:1200/2
  163. Joy BBS  +42-67-7631375 (CM, V.34+, file request MAGIC PARCP)
  164.  
  165. E-mail:  stehlik@cas3.zlin.vutbr.cz
  166. FTP:     ftp.zlin.vutbr.cz/pub/atari/parcp/parcp*.lzh
  167.  
  168. If you can read Czech, don't hesitate to check our BIG hypertext guide
  169. about Atari - JoyAIP (you can get it from places listed above).
  170.